package com.guigu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.pojo.Businesses;
import com.guigu.pojo.FrontUser2;
import com.guigu.vo.BusinessesVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessesMapper extends BaseMapper<Businesses> {
    List<Businesses>  selectAll(@Param("vo") BusinessesVo vo);
    Businesses One(int id);
                        //xiaosong
    //分页查询
    List<FrontUser2> select(@Param("vo") BusinessesVo vo, Integer pageNum, Integer pageSize);
}
